package com.yizhuoyan.his.ao;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

@Data
public class AddCaseCheckAo {



    //病例ID
    @NotNull(message = "病例ID不能为空")
    @Length(max = 16,message = "费用科目编码长度不能超过{max}")
    Long caseMedicalId;
    //病人ID
    @NotNull(message = "病人ID不能为空")
    Long caseRegistrationId;
    //药品ID
    @NotNull(message = "药品ID不能为空")
    Long nondrugExpenseItemId;
    //药品数量
    @NotNull(message = "药品数量不能为空")
    int amount;
    //记录类型
    @NotNull(message = "记录类型不能为空")
    int recordType;
}
